package com.black.cat.jvm.instructions.constants.ldc;//package com.black.cat.jvm.instructions.constants.ldc;
//
//
//
//
//public class LDC2_W extends InstructionIndex16 {
//
//    @Override
//    public void execute(Frame frame) {
//        OperandStack stack = frame.operandStack();
//        RunTimeConstantPool runTimeConstantPool = frame.method().clazz().constantPool();
//        Object c = runTimeConstantPool.getConstants(this.idx);
//
//        if (c instanceof Long) {
//            stack.pushLong((Long) c);
//            return;
//        }
//        if (c instanceof Double) {
//            stack.pushDouble((Double) c);
//            return;
//        }
//
//        throw new ClassFormatError(c.toString());
//
//    }
//
//}
